projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32191bc
)
entry: Clarify docs
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 28 Sep 2021 19:40:41 +0000
(15:40 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 28 Sep 2021 19:40:41 +0000
(15:40 -0400)
Mention that max length is in characters.
gtk/gtkentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtkentry.c
b/gtk/gtkentry.c
index 9ad392ba3c3efd9b784b7eb55ce9b9a9978c08fb..399a065d04e8121e09c90ee8d8eed06c2359a235 100644
(file)
--- a/
gtk/gtkentry.c
+++ b/
gtk/gtkentry.c
@@
-2295,7
+2295,7
@@
gtk_entry_get_overwrite_mode (GtkEntry *entry)
* Sets the maximum allowed length of the contents of the widget.
*
* If the current contents are longer than the given length, then
- * they will be truncated to fit.
+ * they will be truncated to fit.
The length is is in characters.
*
* This is equivalent to getting @entry's `GtkEntryBuffer` and
* calling [method@Gtk.EntryBuffer.set_max_length] on it.